"""
TTS服务模块
提供语音合成功能
"""

from .base import (
    TTSEngine,
    TTSRequest,
    TTSResponse,
    VoiceProfile,
    AudioFormat,
    TTSException,
    VoiceNotFoundError,
    SynthesisError,
    UnsupportedFormatError
)

from .pyttsx3_engine import Pyttsx3Engine
from .audio_converter import AudioConverter, AudioProcessor
from .voice_controller import VoiceController, VoiceSettings
from .service import TTSService, tts_service

__all__ = [
    # 基础类
    'TTSEngine',
    'TTSRequest',
    'TTSResponse',
    'VoiceProfile',
    'AudioFormat',
    
    # 异常类
    'TTSException',
    'VoiceNotFoundError',
    'SynthesisError',
    'UnsupportedFormatError',
    
    # 实现类
    'Pyttsx3Engine',
    'AudioConverter',
    'AudioProcessor',
    'VoiceController',
    'VoiceSettings',
    
    # 服务类
    'TTSService',
    'tts_service'
]

# 版本信息
__version__ = '1.0.0'
__author__ = 'Offline Language Player Team'
